package com.mba.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ListView;

import com.mba.adapter.ChartActivityAdapter;
import com.mba.base.BaseActivity;
import com.mba.bean.pojo;

public class ChartActivity extends BaseActivity{
	private Button backButton;
	private ListView listView;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		NOTITLE();
		setContentView(R.layout.chart_activity);
		backButton = (Button) findViewById(R.id.chart_activity_back_button);
		backButton.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				finish();
			}
		});
		listView = (ListView) findViewById(R.id.chart_activity_lv);
		listView.setAdapter(new ChartActivityAdapter(this, pojo.testMsg()));
	}
}
